import request from '@/utils/request'
//查询业主关联区域市场下线路/区间/站点树
export function lineSectionRepairList(param) {
    return request({
        url: 'rest/repairOrder/gcwbLineSectionRepairList', // 维修列表
        method: 'post',
        data: param
    })
}

//查询业主关联区域市场下线路/区间/站点树
export function lineSectionAuditList(param) {
    return request({
        url: 'rest/repairOrder/gcwbLineSectionAuditList', // 维修审核列表
        method: 'post',
        data: param
    })
}

//待维修列表
export function repairList(param) {
    return request({
        url: 'rest/repairOrder/repairList', // 待维修列表
        method: 'post',
        data: param
    })
}

//维修详情
export function repairDetail(param) {
    return request({
        url: 'rest/repairOrder/repairDetail', // 维修详情
        method: 'post',
        data: param
    })
}

//物料描述
export function diseaseMaterialList(param) {
    return request({
        url: 'rest/diseaseMaterial/list', // 物料描述
        method: 'post',
        data: param
    })
}


//维修暂存
export function saveRepairOrder(param) {
    return request({
        url: 'rest/repairOrder/saveRepairOrder', // 维修暂存
        method: 'post',
        data: param
    })
}

//维修提交
export function commit(param) {
    return request({
        url: 'rest/repairOrder/commit', // 维修提交
        method: 'post',
        data: param
    })
}

//维修审核
export function auditList(param) {
    return request({
        url: 'rest/repairOrder/auditList', // 维修审核
        method: 'post',
        data: param
    })
}

//审核确认
export function repairAudit(param) {
    return request({
        url: 'rest/repairOrder/repairAudit', // 审核确认
        method: 'post',
        data: param
    })
}